import React, { Component } from 'react'
import Filter from '../Filter/index'

class Top extends Component {

    render() {
        let { pushBtn } = this.props
        return (
            <div className='Top'>
                <div className='Top1'>
                    <button>添加成员</button>
                    <button>导入/导出</button>
                    <button onClick={
                        pushBtn.bind(this)
                    }>成员审批</button>
                </div>
                <div className='Top2'>
                    <Filter/>
                    <span>
                        <input type='checkbox'/>
                        在职
                    </span>
                    <span>
                        <input type='checkbox'/>
                        未激活
                    </span>
                    <span>
                        <input type='checkbox'/>
                        离职
                    </span>
                </div>
            </div>
        )
    }
}

export default Top